<div id="main">
    <h1 class="page-title">Class: BaseEntity</h1>
  
    <section>
      <header>
        <h2>
          <span class="attribs"><span class="type-signature"></span></span
          >BaseEntity<span class="signature">(options)</span
          ><span class="type-signature"></span>
        </h2>
      </header>
  
      <article>
        <div class="container-overview">
          <h4 class="name" id="BaseEntity">
            <span class="type-signature"></span>new BaseEntity<span
              class="signature"
              >(options)</span
            ><span class="type-signature"></span>
          </h4>
  
          <div class="description">业务 Entity 基础类型(继承用)</div>
  
          <h5>Parameters:</h5>
  
          <table class="params">
            <thead>
              <tr>
                <th>Name</th>
  
                <th>Type</th>
  
                <th class="last">Description</th>
              </tr>
            </thead>
  
            <tbody>
              <tr>
                <td class="name"><code>options</code></td>
  
                <td class="type">
                  <span class="param-type">Object</span>
                </td>
  
                <td class="description last">参数</td>
              </tr>
            </tbody>
          </table>
  
          <dl class="details">
            <dt class="tag-source">Source:</dt>
            <dd class="tag-source">
              <ul class="dummy">
                <li>
                  <a href="#">BaseEntity.js</a>,
                  <a href="#">line 7</a>
                </li>
              </ul>
            </dd>
          </dl>
  
          <h5>Example</h5>
  
          <pre
            class="prettyprint"
          ><code><span class="kwd">new</span><span class="pln"> </span><span class="typ">BaseEntity</span><span class="pun">({</span><span class="pln">
       id </span><span class="pun">:</span><span class="pln"> </span><span class="kwd">null</span><span class="pun">,</span><span class="pln"> </span><span class="com">// 可选 如果没有，则随机生成一个ID</span><span class="pln">
       longitude </span><span class="pun">:</span><span class="pln"> </span><span class="lit">100</span><span class="pun">,</span><span class="pln"> </span><span class="com">// 经度 必填</span><span class="pln">
       latitude </span><span class="pun">:</span><span class="pln"> </span><span class="lit">40</span><span class="pun">,</span><span class="pln"> </span><span class="com">// 纬度 必填</span><span class="pln">
       height</span><span class="pun">:</span><span class="pln"> </span><span class="lit">0</span><span class="pun">,</span><span class="pln"> </span><span class="com">// 高度</span><span class="pln">
  </span><span class="pun">})</span></code></pre>
        </div>
  
        <h3 class="subsection-title">Members</h3>
  
        <h4 class="name" id=".this.CesiumPosition">
          <span class="type-signature">(static) </span>this.CesiumPosition<span
            class="type-signature"
          ></span>
        </h4>
  
        <div class="description">
          Cesium.Entity 坐标缓存对象 （Cesium.Cartesian3 对象） 用于动态位置变更
        </div>
  
        <dl class="details">
          <dt class="tag-source">Source:</dt>
          <dd class="tag-source">
            <ul class="dummy">
              <li>
                <a href="#">BaseEntity.js</a>,
                <a href="#">line 42</a>
              </li>
            </ul>
          </dd>
        </dl>
  
        <h4 class="name" id=".this.Entity">
          <span class="type-signature">(static) </span>this.Entity<span
            class="type-signature"
          ></span>
        </h4>
  
        <div class="description">Cesium.Entity 缓存对象</div>
  
        <dl class="details">
          <dt class="tag-source">Source:</dt>
          <dd class="tag-source">
            <ul class="dummy">
              <li>
                <a href="#">BaseEntity.js</a>,
                <a href="#">line 48</a>
              </li>
            </ul>
          </dd>
        </dl>
  
        <h4 class="name" id=".this.Position">
          <span class="type-signature">(static) </span>this.Position<span
            class="type-signature"
          ></span>
        </h4>
  
        <div class="description">经纬度缓存对象</div>
  
        <dl class="details">
          <dt class="tag-source">Source:</dt>
          <dd class="tag-source">
            <ul class="dummy">
              <li>
                <a href="#">BaseEntity.js</a>,
                <a href="#">line 31</a>
              </li>
            </ul>
          </dd>
        </dl>
  
        <h3 class="subsection-title">Methods</h3>
  
        <h4 class="name" id="setPosition">
          <span class="type-signature"></span>setPosition<span class="signature"
            >(position, time, beginCallback, updateCallback)</span
          ><span class="type-signature"></span>
        </h4>
  
        <div class="description">更新平台位置</div>
  
        <h5>Parameters:</h5>
  
        <table class="params">
          <thead>
            <tr>
              <th>Name</th>
  
              <th>Type</th>
  
              <th class="last">Description</th>
            </tr>
          </thead>
  
          <tbody>
            <tr>
              <td class="name"><code>position</code></td>
  
              <td class="type">
                <span class="param-type">Object</span>
              </td>
  
              <td class="description last">经纬度坐标点</td>
            </tr>
  
            <tr>
              <td class="name"><code>time</code></td>
  
              <td class="type">
                <span class="param-type">Number</span>
              </td>
  
              <td class="description last">动画持续事件</td>
            </tr>
  
            <tr>
              <td class="name"><code>beginCallback</code></td>
  
              <td class="type">
                <span class="param-type">function</span>
              </td>
  
              <td class="description last">开始时回调事件</td>
            </tr>
  
            <tr>
              <td class="name"><code>updateCallback</code></td>
  
              <td class="type">
                <span class="param-type">function</span>
              </td>
  
              <td class="description last">结束后回调事件</td>
            </tr>
          </tbody>
        </table>
  
        <dl class="details">
          <dt class="tag-source">Source:</dt>
          <dd class="tag-source">
            <ul class="dummy">
              <li>
                <a href="#">BaseEntity.js</a>,
                <a href="#">line 65</a>
              </li>
            </ul>
          </dd>
        </dl>
      </article>
    </section>
  </div>
  